﻿using System.Reflection;

namespace UtilZ.Dotnet.Ex.Json
{
    /// <summary>
    /// json成员忽略器接口
    /// </summary>
    public interface IJsonMemberIgnoreer
    {
        /// <summary>
        /// 判断当前成员是否忽略
        /// </summary>
        /// <param name="memberInfo">成员信息</param>
        /// <param name="owner">成员所属对象</param>
        /// <param name="value">属性或字段值</param>
        /// <returns>转换成功返回true,失败返回false</returns>
        bool Ignore(MemberInfo memberInfo, object owner, object value);
    }

}
